package example.chapter12.generator;

import org.apache.struts2.util.IteratorGenerator.Converter;

import com.opensymphony.xwork2.ActionSupport;

public class GeneratorTagAction extends ActionSupport{
	public Converter getMyConverter(){
		return new Converter(){
			public Object convert(String value) throws Exception{
				return "converter-" + value;
			}
		};
	}
}
